package org.kclm.bean;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.lang.module.ResolutionException;

/**
 * @Author : lvhx
 * @Date: 2025/11/4 11:08
 * @Description:
 */
@Component
public class A {
    public A() {
        System.out.println("A创建了");
    }
}
@Repository
class B {
    public B() {
        System.out.println("B创建了");
    }
}
@Service
class C {
    public C() {
        System.out.println("C创建了");
    }
}

@Controller
class D {
    public D() {
        System.out.println("D创建了");
    }
}
@Controller
class F {
    public F() {
        System.out.println("F创建了");
    }
}
@Service
class E {
    public E() {
        System.out.println("E创建了");
    }
}